//
//  CTMoreWebViewController.m
//  CT
//
//  Created by liufanwei on 15/4/7.
//  Copyright (c) 2015年 liufanwei. All rights reserved.
//

#import "CTMoreWebViewController.h"

@interface CTMoreWebViewController ()<UIWebViewDelegate>

@end

@implementation CTMoreWebViewController
@synthesize Url;

- (void)viewDidLoad {
    [super viewDidLoad];
    NSURL *nsurl = [[NSURL alloc] initWithString:Url];
    _Web.delegate = self;
    [_Web loadRequest:[NSURLRequest requestWithURL:nsurl]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

- (void)webViewDidFinishLoad:(UIWebView *)webView{
    
}

- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error{
    NSLog(@"%@",error);
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
